//
//  SDLoginManager.h
//  SKinDiary
//
//  Created by pcyang on 16/7/11.
//  Copyright © 2016年 tencent. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, SDLoginState)
{
    SDLoginStateNone = 0,
    SDLoginStateLoggedIn,
    SDLoginStateLoggedOut
};

@interface SDLoginManager : NSObject
@property (nonatomic,assign) SDLoginState  loginState;
+ (SDLoginManager *)sharedInstance;

-(BOOL)isLogin;
-(void)logOut;
-(NSString*)sessionId;
-(void)doLoginWithUserName:(NSString*)userName password:(NSString*)password;
@end
